from django.urls import path
from question.views.label_views import *
from question.views.question_views import *

urlpatterns = [
    path('labels/', LabelView.as_view({'get': 'list'})),
    path('labels/users/', UserLabelsView.as_view()),
    path('labels/<int:pk>/', LabelView.as_view({'get': 'retrieve'})),

    path('questions/<str:pk>/label/new/', NewQuestionView.as_view()),
    path('questions/<str:pk>/label/hot/', HotQuestionView.as_view()),
    path('questions/<str:pk>/label/wait/', WaitQuestionView.as_view()),

]
